package com.example.miraitest;


import com.idse.miraijava.job.StartBot;
import com.idse.miraijava.pojo.MiraiConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;


/**
 * @author dailinfeng
 */
@SpringBootApplication
public class MiraiTestApplication {
    public static void main(String[] args) throws Exception {
        new StartBot().run(new MiraiConfig()
                .setQq("")
                .setPassword("..")
                .setPluginsDir("com.example.plugins") //插件包的路径，插件包需要自己创建 类似于Spring Mvc中的controller包
                .setWorkDir("src/main/resources/work_dir")); //work_dir的路径
        SpringApplication.run(MiraiTestApplication.class, args);
    }

}
